#ifndef ENCODEDIALOG_H
#define ENCODEDIALOG_H

#include <QDialog>
#include "../newcode/api.h"

namespace Ui {
class EncodeDialog;
}

class EncodeDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit EncodeDialog(QString* outText, NC_Mode* outMode,
        QWidget *parent = 0);
    ~EncodeDialog();

public slots:
    virtual void accept ();
    
private:
    Ui::EncodeDialog *ui;
    QString *text;
    NC_Mode *mode;

};

#endif // ENCODEDIALOG_H
